﻿using IXION.BLOG.DOMAIN.TAG;
using IXION.BLOG.SERVICE.ARTICLE;
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IXION.BLOG.WEB.UI
{
    public partial class Article : PageBase
    {
        /// <summary>
        /// 文章对象
        /// </summary>
        public IXION.BLOG.DOMAIN.BLOG.Article article;
        /// <summary>
        /// 业务处理对象
        /// </summary>
        protected ArticleService service = new ArticleService(); 
        protected void Page_Load(object sender, EventArgs e)
        {
            string id = Request["id"];
            article = service.GetArticleById(int.Parse(id));
            Title = article.Title + "——" + "文章——" + blog.BlogName;
        }
    }
}